package NWPackage;

public class Matrix {
	protected Cell[] cells;
	
	public Matrix()
	{
		
	}
	public Matrix(Cell[] cells)
	{
		this.setCells(cells);
	}
	public void setCells(Cell[] cells) {
		this.cells = cells;
	}
	public Cell[] getCells() {
		return cells;
	}
	
	public void initial() {
		return;
		
	}
	public Cell getCell(int index)
	{
		if (index < cells.length)
			return cells[index];
		return null;
	}
	public int getLength() {
		return cells.length;
	}
}
